﻿using System.Web.Mvc;

namespace Twi.Websites.Core.Areas.BIM
{
    public class BIMAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "BIM";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "BIM_default",
                "BIM/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional },
                namespaces: new string[] { "Twi.Websites.Areas.BIM.Controllers" }
            );
        }
    }
}
